import request from '@/utils/request'

const baseURL = '/industryDataManagement'

// 行业昨天日数据折线图
export function loadDayIndustryList (type) {
  return request({
    url: `${baseURL}/loadDayIndustryList`,
    params: {
      type
    }
  })
}
// 行业上月数据折线图
export function loadMonthIndustryList (type) {
  return request({
    url: `${baseURL}/loadMonthIndustryList`,
    params: {
      type
    }
  })
}
// 行业本年数据柱状图
export function loadYearIndustryList (type) {
  return request({
    url: `${baseURL}/loadYearIndustryList`,
    params: {
      type
    }
  })
}

// 昨日行业综合能耗日数据折线图
export function loadDayIndustryComprehensiveEnergyConsumptionList () {
  return request({
    url: `${baseURL}/loadDayIndustryComprehensiveEnergyConsumptionList`
  })
}

// 上月行业综合能耗数据折线图
export function loadMonthIndustryComprehensiveEnergyConsumptionList () {
  return request({
    url: `${baseURL}/loadMonthIndustryComprehensiveEnergyConsumptionList`
  })
}

// 本年行业综合能耗数据柱状图
export function loadYearIndustryComprehensiveEnergyConsumptionList () {
  return request({
    url: `${baseURL}/loadYearIndustryComprehensiveEnergyConsumptionList`
  })
}

// 月度综合能耗企业排名
export function loadMonthComprehensiveEnergyConsumptionEnterpriseRanking () {
  return request({
    url: `${baseURL}/loadMonthComprehensiveEnergyConsumptionEnterpriseRanking`
  })
}

// 年度综合能耗企业排名
export function loadYearComprehensiveEnergyConsumptionEnterpriseRanking () {
  return request({
    url: `${baseURL}/loadYearComprehensiveEnergyConsumptionEnterpriseRanking`
  })
}

// 上月行业排名集合
export function loadMonthIndustryRankingList () {
  return request({
    url: `${baseURL}/loadMonthIndustryRankingList`
  })
}
